package com.zhuyuan.core.enums;

import lombok.Data;

/**
 * @Author: 张琳凯
 * @Description: 公共变量描述
 * @DateTime: 2025/1/24 18:11
 **/
public enum CommonEnum {

    ENABLE(0, "开启"),
    DISABLE(1, "关闭"),
    ;

    public int code;
    public String result;

    CommonEnum(int code, String result){
        this.code=code;
        this.result=result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
